package me.keiwu.user.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Generated;
import org.hibernate.annotations.GenerationTime;

import lombok.Data;
import lombok.EqualsAndHashCode;


@Entity
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "user_form")
public class UserForm extends AbstractBaseEntity {

	@Id
	@GeneratedValue
	private Long id;

	@Column(length = 255)
	private String formId;

	private Long userId;

	@Column(name="create_time",insertable=false, updatable=false)
	@Generated(GenerationTime.INSERT)
	private Date createTime;

	@Column(length = 60)
	private String action;

}
